package com.hyzx.qbasic.admin.domain.dao;

import com.hyzx.qbasic.admin.model.po.ProcessConfigPO;
import com.hyzx.qbasic.admin.model.po.ProcessConfigPagedInfoPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProcessConfigMapper {
    int deleteProcessConfig(List<Integer> processConfigIdList);

    int deleteProcessConfigByKey(List<String> processConfigKeyList);

    int addProcessConfig(ProcessConfigPO record);

    int editProcessConfig(ProcessConfigPO record);

    ProcessConfigPO getProcessConfigById(@Param("processConfigId") Integer processConfigId);

    ProcessConfigPO getProcessConfigByKey(@Param("processConfigKey") String processConfigKey);

    List<ProcessConfigPagedInfoPO> getPagedProcessConfigList(@Param("processCategoryId") Integer processCategoryId, @Param("processDefinitionName") String processDefinitionName);

    int deleteProcessCategory(List<Integer> processCategoryIdList);

    int deleteProcessDefinition(List<Integer> processDefinitionIdList);
}